home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / amsmnu15.zip / LITLOGIN.BAT < prev    next >
DOS Batch File  |  1992-10-01  |  2KB  |  60 lines

  1. : Remove these two REM commands when everything is working OK.
  2. : @Echo Off
  3.  
  4. : To help in the configuration of this file, we suggest you list it to the
  5. : printer, use        COPY  LITLOGIN.BAT  LPT1
  6.  
  7. : This is a sample batch file for use with Netware Lite. This file should be
  8. : used on the server, as a common Login batch file. It is intended for use
  9. : by people unfamiliar with networking, and for those attempting to 
  10. : establish a single main FileServer network, although the concepts may be
  11. : useful to more experienced networkers. The file should be placed in the
  12. : PUBLIC directory on your server. [PUBLIC directories are discussed in
  13. : Quick Start for Netware Lite Users].
  14.  
  15. : This command maps drive F: to your main server, and the network directory
  16. : CDRIVE. If you don't have a network directory called CDRIVE, change it to
  17. : a network directory. This drive should be mapped to the disk on your server
  18. : which has the User Login Script files.
  19. NET MAP F: CDRIVE
  20.  
  21. : Map some more directories here ... Again change CDRIVE if necessary.
  22. NET MAP G: CDRIVE
  23. NET MAP H: CDRIVE
  24. NET MAP I: CDRIVE
  25.  
  26. : Drive M: should be mapped to the area on your server which has the Netware
  27. : lite files
  28. NET MAP M: CDRIVE
  29. CD M:\NWLITE
  30.  
  31. : If you recieve an error message when you try to map any of these drives,
  32. : it is most likely because the parameter LASTDRIVE has not been set 
  33. : correctly in the CONFIG.SYS file on the computer which displayed the 
  34. : error message. Refer to your DOS manual, and set this to LASTDRIVE=M 
  35. : Then reboot your computer (Changes in CONFIG.SYS do not become active 
  36. : until it is rebooted).
  37.  
  38. : Now add drives L: and M: to your search path as "Search" drives.
  39. Set P=%PATH%
  40. SET PATH=%P%;L:.;M:.
  41. Set P=
  42.  
  43. : Set up default print queues for all users.
  44. : Change NetPrint to the name of your network printer (If Available).
  45. : You can capture other printers to LPT2 & LPT3 here if required.
  46. Net Capture LPT1 NetPrint B=N    F=N
  47. :        ^ Redirect LPT1
  48. :               ^ Don't Print a banner page
  49. :                ^ Don't formfeed a page after a print
  50.  
  51. : Synchronize the client's PC time with that of the Server.
  52. NET TIME
  53.  
  54. : Now run userpath to run each user's individual login scripts. The last
  55. : command in each users login script ought to load AMS.
  56. : If users don't have write rights to the PUBLIC directory, add a directory
  57. : path which they do have write rights to, after UserPath, eg UserPath F:
  58. UserPath
  59.  
  60.